/*
 * Created on Oct 25, 2004
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.hermeneute.fsa;

/**
 * @author mauceri
 *
 */
import java.util.MissingResourceException;
import java.util.ResourceBundle;

public final class Resources
{
   /**
    * the ResourceBundle for this project
    */
   public static final ResourceBundle resources =
      ResourceBundle.getBundle("com.hermeneute.fsa.Strings");

   /**
    * returns the resource string associated with the key
    * @param key the resource key
    * @return the resource string
    * @throw MissingResourceException if the resource is missing
    */
   public static final String getString(String key)
      throws MissingResourceException
   {
   		try {
   			return resources.getString(key);
   		} catch (Exception e) {
   			return key;
   		}
   }
}
